package scau.erps.view.business.staff;

import java.awt.event.ActionEvent;



/**
 * 设备商界面类
 * @author DCJ
 *
 */
public class EquipmentPanel extends BusinessPanelTemplate{
	private static final long serialVersionUID = 1L;
	public EquipmentPanel(){
		super();
		this.setComboItemsValue();		
		this.operationBtn1.setText("变卖"); 
		this.operationBtn2.setText("转产");
	}
		
	@Override
	public void setComboItemsValue() {
		String[] euipmentType = new String[]{"生产线类型","手工","半自动","全自动","柔性"};
		String[] equipmentStatus = new String[]{"建设状态","建造中","已投产","已变卖"};
		this.addItems(businessType, euipmentType);
		this.addItems(businessStatus,equipmentStatus);		
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		if(e.getSource() == searchBtn){
			
		}
		else if(e.getSource()==approveBtn){
			
		}
		else if(e.getSource()==operationBtn1){
			
		}			
	}
}
